#!/bin/sh

cat <<EOF
#!/bin/sh

if [ -x "/etc/init.d/$1" ]; then
	if [ ! -e "/etc/init/$1.conf" ]; then
		update-rc.d $1 defaults >/dev/null
	fi
fi
EOF
